package com.xiaobai.bo;

import com.xiaobai.common.FreeClassroomEnum;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @description: 主
 * @author: 小白白
 * @create: 2021-11-26
 **/

@Data
public class FreeClassroomAll {

    private Map<String, FreeClassroomCampus> campusMap;

    public FreeClassroomAll() {
        this.campusMap = new HashMap<>();
        this.campusMap.put(FreeClassroomEnum.GH.name, new FreeClassroomCampus(FreeClassroomEnum.GH.name));
        this.campusMap.put(FreeClassroomEnum.GD.name, new FreeClassroomCampus(FreeClassroomEnum.GD.name));
        this.campusMap.put(FreeClassroomEnum.XC.name, new FreeClassroomCampus(FreeClassroomEnum.XC.name));
    }

}
